<!DOCTYPE html>
<html lang="zh_cn">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <link rel="stylesheet" href="css/reset.css">
    <link rel="stylesheet" href="css/style.css">
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link rel="stylesheet" href="css/swiper.min.css">
    <title>Document</title>
</head>

<body>
    <header class="top-container">
        <div class="top container">
            <!-- 导航菜单模块 -->
            <ul class="top-menu clearfix">
                <li class="top-menu-item">
                    <a href="">小米商城</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">MIUI</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">IoT</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">云服务</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href=""> 金融</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href=""> 有品 </a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">小爱开放平台</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">企业团购</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">资质证照</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">协议规则</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">下载app</a>
                    <span class="sep">|</span>
                </li>
                <li class="top-menu-item">
                    <a href="">Select Location</a>
                </li>
            </ul>
            <!-- 登录注册购物车模块 -->
            <div class="signup-login">
                <ul class="top-menu">
                    <li class="top-menu-item">
                        <a href="">登录</a>
                        <span class="sep">|</span>
                    </li>
                    <li class="top-menu-item">
                        <a href="">注册</a>
                        <span class="sep">|</span>
                    </li>
                    <li class="top-menu-item">
                        <a href="">消息通知</a>
                    </li>
                    <li class="top-menu-item cart">
                        <a href="">
                            <i class="fa fa-shopping-cart fa-lg"></i>
                            <span class="cart-name">购物车</span>
                            <span class="num">(0)</span>
                        </a>
                    </li>
                </ul>
            </div>
        </div>
    </header>
    <div class="header container">
        <div class="logo"></div>
        <ul class="header-menu">
            <li class="item">
                <a href="">全部商品分类</a>
            </li>
            <li class="item">
                <a href="">小米手机</a>
            </li>
            <li class="item">
                <a href="">Redmi 红米</a>
            </li>
            <li class="item">
                <a href="">电视</a>
            </li>
            <li class="item">
                <a href="">笔记本</a>
            </li>
            <li class="item">
                <a href="">家电</a>
            </li>
            <li class="item">
                <a href="">路由器</a>
            </li>
            <li class="item">
                <a href="">智能硬件</a>
            </li>
            <li class="item">
                <a href="">服务</a>
            </li>
            <li class="item">
                <a href="">社区</a>
            </li>
        </ul>
        <div class="search"></div>
    </div>
    <div class="swiper-container">
        <div class="swiper-wrapper">
            <div class="swiper-slide">
                <a href="">
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/64070c0d2b1e6b69316c7b9fc9d3ec50.jpg?w=2452&h=920" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="">
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/e5eb22993da3755a6792f501e749fd78.jpg?w=2452&h=920" alt="">
                </a>
            </div>
            <div class="swiper-slide">
                <a href="">
                    <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/a1f0eb196c6c65a89ffba6efa4b5679c.jpg?w=2452&h=920" alt="">
                </a>
            </div>
        </div>
        <!-- 如果需要分页器 -->
        <div class="swiper-pagination"></div>

        <!-- 如果需要导航按钮 -->
        <div class="swiper-button-prev"></div>
        <div class="swiper-button-next"></div>

        <!-- 如果需要滚动条 -->
        <!-- <div class="swiper-scrollbar"></div> -->
    </div>

    <script src="js/swiper.min.js"></script>
    <script>
        var mySwiper = new Swiper('.swiper-container', {
            // direction: 'vertical', // 垂直切换选项
            loop: true, // 循环模式选项
            effect: "coverflow",

            // 如果需要分页器
            pagination: {
                el: '.swiper-pagination',
            },

            // 如果需要前进后退按钮
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },

            // 如果需要滚动条
            scrollbar: {
                el: '.swiper-scrollbar',
            },
        })
    </script>
</body>

</html>